<html>
  <head>
    <title>ConArtist - Content Generators</title>
    <link rel="stylesheet" type="text/css" href="style.css" />
  </head>
  <body>
    <h1>ConArtist - Content Generators</h1>
<h2>Overview</h2>
<p>The ConArtist framework is designed to allow dynamically generated web content to be easily created and managed from one or more sources (which may be remote). Each defined content generator provides content for all or part of one or more websites.</p>

<p>The caGenerator object is the container for all information relating to these activities and contains</p>
<ul>
  <li>configuration information</li>
  <li>generated content cache</li>
  <li>data stores</li>
  <li>url mapping information</li>
  <li>details of one or more generation mechanisms</li>
  <li>authentication functions</li>
  <li>event management</li>
</ul>
<p>While ConArtist is not primarily meant to be used for publishing static pages, there is no reason why it cannot be.</p>
<h2>Selecting the Generator</h2>
<p>It is anticipated that there will normally be a 1 to 1 relationship between websites and generators. In this case the selection of a generator can be made using only the hostname.</p>
<p class="centred">
  <img src="ss_simple.png"/>
</p>
<p>It is possible that multiple generators will be responsible for the content of a website, in which case a more complex selection is required taking the url into consideration.</p>
<p class="centred">
  <img src="ss_multi.png"/>
</p>
<p>The following diagram shows an example setup.</p>
<p class="centred">
  <img src="multisite.png"/>
</p>

<h2>Generation Mechanisms</h2>
<p>The intent is that the caGenerator object will contain enough information to allow generation of the required content. The exact process by which this occurs is designed to be flexible and definable bu each generator. It is anticipated that it will be possible to use dynamically loaded modules to provide site generation, allowing a site to use any method of page generation desired.</p>
<p>ConArtist will provide direct access to a number of template systems and it is hoped that a suitable configuration ability can be developed to allow many sites to simply define a set of rules for page generation.</p>
